﻿
#region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using Quba.Entities.Database.General;

#endregion Usings

namespace Quba.Entities.Database.Question
{
    public class QuestionPaper : BaseEntity
    {
        [Required]
        [StringLength(50)]
        public string Name { get; set; }
        public string Description { get; set; }

        [Required]
        public string Code { get; set; }

        public TimeSpan TimeSpan { get; set; }
        public bool Status { get; set; }

        [Required]
        public string QuestionIds { get; set; }

        public ICollection<Question> Questions { get; set; }
    }
}
